package com.red.selling.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.red.common.annotation.Excel;
import com.red.common.core.domain.BaseEntity;

/**
 * 销售送货单子对象 red_delivery_sub
 * 
 * @author bug2222
 * @date 2024-11-20
 */
public class RedDeliverySub extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 送货单id */
    @Excel(name = "送货单id")
    private Long deliveryId;

    /** 产品id */
    @Excel(name = "产品id")
    private Long goodsId;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeliveryId(Long deliveryId) 
    {
        this.deliveryId = deliveryId;
    }

    public Long getDeliveryId() 
    {
        return deliveryId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deliveryId", getDeliveryId())
            .append("goodsId", getGoodsId())
            .append("num", getNum())
            .toString();
    }
}
